POV-Ray : Newsgroups : povray.advanced-users : Ever worry about it all crashing down? : Re: Ever worry about it all crashing down? Server Time
29 Jul 2024 16:23:22 EDT (-0400)
  Re: Ever worry about it all crashing down?  
From:
Date: 13 Nov 2001 13:41:33
Message: <16q2vts7h3eudo20jt542k3f2qmom1ns7u@4ax.com>
On Tue, 13 Nov 2001 19:31:22 +0100, Lutz-Peter Hooge <lpv### [at] gmxde> wrote:
> Only 20k cylinders fill up 386MB?
> Last year I made a christmas-tree, with IIRC a bit below 50k cylinders. 
> It rendered fine with MegaPov .6 and needed almost exactly 256 MB RAM.

I just rendered this scene

 #declare Test=union{
  #local C=0;
  #while(C<40000)
    cylinder{0,1,2}
    #if(mod(C,100)=0)#debug concat(str(C,0,0),"\n")#end
    #local C=C+1;
  #end
  pigment{color rgb 1}
 }

and it returns "Peak memory used:         18142448 bytes"
but of course it not play with light buffer and other things

ABX
--
#declare _=function(a,b,x){((a^2)+(b^2))^.5-x}#default {pigment{color rgb 1}}
union{plane{y,-3}plane{-x,-3}finish{reflection 1 ambient 0}}isosurface{ //ABX
function{_(x-2,y,1)|_((x+y)*.7,z,.1)|_((x+y+2)*.7,z,.1)|_(x/2+y*.8+1.5,z,.1)}
contained_by{box{<0,-3,-.1>,<3,0,.1>}}translate z*15finish{ambient 1}}//POV35


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.